package com.tbit.uqbike.webmanager.business.photo_upload_log.dao.log;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tbit.config.datasource.DataSource;
import com.tbit.uqbike.webmanager.business.photo_upload_log.object.PhotoUploadLog;
import com.tbit.uqbike.webmanager.business.photo_upload_log.object.vo.PhotoReturnBikeStatVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @Author: chen
 * @Description: 拍照还车日志
 * @Date: 创建于 13:43 2023/8/3
 */
@DS(DataSource.LOG)
public interface PhotoUploadLogDao extends BaseMapper<PhotoUploadLog> {
    /**
     * 查询统计信息
     */
    List<PhotoReturnBikeStatVo> selectStat(@Param("accountIds") List<Integer> accountIds, @Param("startTime") Date startTime, @Param("endTime") Date endTime);
}
